package com.rock.code.common.utils.service.impl;

import com.rock.code.common.utils.service.AuthorityControlService;
import com.rock.code.system.roleModule.dao.TbSysRoleModuleDao;
import com.rock.code.system.roleModule.domain.TbSysRoleModule;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by colo on 2018/2/11.
 */

@Service
public class AuthorityControlServiceImpl implements AuthorityControlService {
    @Resource
    private TbSysRoleModuleDao tbSysRolesMenuDao;

    @Override
    public List<TbSysRoleModule> queryMenuOptionByParaMap(Map<String, Object> param) throws Exception {
        return tbSysRolesMenuDao.queryMenuOptionByParaMap(param);
    }
}
